package com.yx.xf.Dict.ui;

 
import java.util.List;

public class node {

	private String nodeName;
	private String nodeId;
	private int hasChildNode;
	private String extendAttribute;
	private String icon;
	
	private List  subNode;

	public List  getSubNode() {
		return subNode;
	}

	public void setSubNode(List  subNode) {
		this.subNode = subNode;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public node() {
		nodeName = "";
		nodeId = "";
		hasChildNode = 0;
		extendAttribute = "";
		icon="";
	}

	public boolean hasChildNode() {
		return getHasChildNode() == 1;
	}

	public int getHasChildNode() {
		return hasChildNode;
	}

	public void setHasChildNode(int hasChildNode) {
		this.hasChildNode = hasChildNode;
	}

	public String getExtendAttribute() {
		return extendAttribute;
	}

	public void setExtendAttribute(String extendAttribute) {
		this.extendAttribute = extendAttribute;
	}

	public String getNodeId() {
		return nodeId;
	}

	public void setNodeId(String nodeId) {
		this.nodeId = nodeId;
	}

	public String getNodeName() {
		return nodeName;
	}

	public void setNodeName(String nodeName) {
		this.nodeName = nodeName;
	}
}